package com.linglingC.service;

import com.linglingC.pojo.User;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.time.LocalDateTime;

@Service
public interface UserService {
    User login(String account, String password);

    User getUser(String account);

    void uploadImage(MultipartFile image) throws IOException;

    void updateTime();

    void updatePassword(String password,HttpServletRequest request);

    User updateName(String name, HttpServletRequest request);
}
